package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- 包的 ---
 *
 * @author ding
 * @date 2025/4/29
 * @desc
 */
@Data
public class UserDTO{
    private String username;
    private Integer level;
    private Integer pageNum;
    private Integer pageSize;
    @JsonFormat(pattern = ("yyyy-MM-dd"))
    @DateTimeFormat(pattern = ("yyyy-MM-dd"))
    private Date createdAt1;
    @JsonFormat(pattern = ("yyyy-MM-dd"))
    @DateTimeFormat(pattern = ("yyyy-MM-dd"))
    private Date createdAt2;
}
